package com.bbcare.nutritious.plat.service;

import java.util.Map;

import com.bbcare.nutritious.plat.entity.PtGymnasticBarbell;
import com.bbcare.nutritious.plat.entity.PtWeight;


/**
 * 体操杠铃和上下班信息接口
 */
public interface IGymnasticBarbellService {
	/**
	 * 添加或修改体操杠铃和上下班信息
	 * @param gymnasticBarbell
	 * @return
	 * @throws Exception
	 */
	Map<String, Object> saveGymnasticBarbell(PtGymnasticBarbell gymnasticBarbell) throws Exception;
	/**
	 * 通过条件查询
	 * @param gymnasticBarbell
	 * @return
	 */
	Map<String, Object> listWeightByIdAndDate(PtGymnasticBarbell gymnasticBarbell);
	/**
	 * 分页查询
	 * @param weight
	 * @return
	 */
	Map<String, Object> listGymnasticBarbellForPage(PtGymnasticBarbell gymnasticBarbell);
	/**
	 * 删除
	 * @param id
	 * @return
	 * @throws Exception
	 */
	Map<String, Object> delGymnasticBarbellById(String id) throws Exception;
	Map<String, Object> listGymnasticBarbell(PtGymnasticBarbell gymnasticBarbell);
	
}
